package com.ea.domain.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * <p>
 * 订单信息明细表
 * </p>
 *
 * @author 电器商城
 * @since 2022-11-29
 */
public class OrderFormDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 子订单编号
     */
    private Long detailId;

    /**
     * 主订单编号
     */
    private Long orderId;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 货品名称
     */
    private String goodsName;

    /**
     * 货品id
     */
    private Long skuId;

    /**
     * 规格名称
     */
    private String skuName;

    /**
     * 规格编号
     */
    private String skuBarcode;

    /**
     * 商品数量
     */
    private BigDecimal goodsAmount;

    /**
     * 下单时间
     */
    private Date orderTime;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 总价
     */
    private BigDecimal totalPrice;

    /**
     * 优惠
     */
    private BigDecimal discountFee;

    /**
     * 类别编码
     */
    private Long cateId;

    /**
     * 分类
     */
    private String cateName;

    /**
     * 是否评价 0:未评价；1:已评价
     */
    private Integer isEvaluate;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 修改时间
     */
    private Date gmtUpdate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getDetailId() {
        return detailId;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getSkuBarcode() {
        return skuBarcode;
    }

    public void setSkuBarcode(String skuBarcode) {
        this.skuBarcode = skuBarcode;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public BigDecimal getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(BigDecimal goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getDiscountFee() {
        return discountFee;
    }

    public void setDiscountFee(BigDecimal discountFee) {
        this.discountFee = discountFee;
    }

    public Long getCateId() {
        return cateId;
    }

    public void setCateId(Long cateId) {
        this.cateId = cateId;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtUpdate() {
        return gmtUpdate;
    }

    public void setGmtUpdate(Date gmtUpdate) {
        this.gmtUpdate = gmtUpdate;
    }

    public Integer getIsEvaluate() {
        return isEvaluate;
    }

    public void setIsEvaluate(Integer isEvaluate) {
        this.isEvaluate = isEvaluate;
    }

    @Override
    public String toString() {
        return "OrderFormDetail{" +
        ", detailId=" + detailId +
        ", orderId=" + orderId +
        ", goodsId=" + goodsId +
        ", skuId=" + skuId +
        ", goodsAmount=" + goodsAmount +
        ", orderTime=" + orderTime +
        ", price=" + price +
        ", totalPrice=" + totalPrice +
        ", discountFee=" + discountFee +
        ", cateId=" + cateId +
        ", cateName=" + cateName +
        ", isEvaluate=" + isEvaluate +
        ", gmtCreate=" + gmtCreate +
        ", gmtUpdate=" + gmtUpdate +
        "}";
    }
}
